<template>
  <div id="app">
    <header>
      <div class="ad-bar">ADVERTISEMENT</div>
      <!-- <div class="top-nav">
        <div class="logo">
          <img src="https://smartlifestyletrends.com/wp-content/uploads/2019/10/Logo-1x.png" alt="YourLifestyleTrends" />
          <span class="logo-text">YourLifestyleTrends</span>
        </div>
        <div class="trending-offer">Trending Internet Offer</div>
      </div> -->
    </header>

    <main class="page-container">
      <h1 class="main-title">This Bathroom Remodel website is Helping American Homeowners Save Costs</h1>
      <!-- <p class="post-info">Posted by AD Team on September 2nd, 2025</p> -->

      <div class="main-image">
        <img src="https://smartlifestyletrends.com/wp-content/uploads/2023/07/78101-768x462.jpg" alt="Modern Bathroom Remodel" />
      </div>

      <div class="intro-section">
        <p>People with old and dated bathrooms are getting a great deal this Month!</p>
        <p>A new, modern, and well-appointed Bathroom could be more affordable than you think thanks to this amazing bathroom remodel service. If a homeowner's last advantage of this, they'd never worry about hiring Contractors again!
          <a href="https://cheputyaimunting.com/click">Click here to check for amazing savings!</a>
        </p>
        <p><strong>If you:</strong></p>
        <ul>
          <li><i class="icon-check"></i> Own a Home Older Than 40 Years Old</li>
          <li><i class="icon-check"></i> Have An Old and Dated Bathroom</li>
          <li><i class="icon-check"></i> Have Insufficient Solvents, Insoluble, And Blowen Heads</li>
        </ul>
        <p>Then you'll want to take advantage of remodeling the bathroom to your home at new modern bathroom. Mathematically your quality of life as well significantly improve the value of your home. Recent studies have shown that over 70% of homeowners wanted to be in their home after remodeling their bathroom. It's safe to say that remodeling your bathroom can greatly improve your lifestyle.</p>
      </div>

      <div class="before-after-image">
        <img src="https://smartlifestyletrends.com/wp-content/uploads/2023/07/78102-768x462.jpg" alt="Before and After Bathroom Remodel" />
      </div>

      <h2 class="sub-title">Cost Savings</h2>
      <p>Many are shocked when they visit <a href="https://cheputyaimunting.com/click">Home IQ Company </a> and learn how affordable contractors through their network can be, they are often equally shocked when they learn how skilled and highly qualified they are. Contractors in this service's network are pre-vetted and only provide the highest level of craftsmanship and reliability. Homeowners can save  by receiving a quote through <a href="https://cheputyaimunting.com/click">Home IQ Company </a> and in doing so have access to a network of over 1,000 bathroom contractors.</p>
      <p>Additionally, most homeowners find that the investment to install a new bathroom is largely recouped by the additional value a remodeled bathroom adds to their home.</p>
      <p>It's safe to say that remodeling an old and ugly bathroom makes more sense than ever thanks to <a href="https://cheputyaimunting.com/click">Home IQ Company </a>.</p>
      <p>If your home doesn't have a new, modern bathroom, we encourage you to get a FREE quote.</p>

      <h3 class="action-heading">Here's How You Do It:</h3>
      <p>Step 1 <i class="icon-arrow-right"></i> <a href="https://cheputyaimunting.com/click">Click your state below to get free quotes.</a></p>
      <p>Step 2: Once you complete a few questions (about 60 seconds) you will be presented with choices and rates you never thought possible (no login required). Enjoy your savings!</p>

      <h3 class="select-state-heading">Select Your State:</h3>

      <!-- 修改点：将图片包裹在 <a> 标签中 -->
      <div class="state-map-selector">
        <div class="map-image">
          <a href="https://cheputyaimunting.com/click" target="_blank"> <!-- 添加了<a>标签和target="_blank" -->
            <img src="https://www.the-home-experts.com/us-windows/img/map2.png" alt="US Map" />
          </a>
        </div>
      </div>
      <!-- StateMap 组件内容结束 -->

      <button @click="getQuotes"  class="main-cta-button">GET MY QUOTE NOW >></button>
    </main>
  </div>
</template>

<script>
export default {
  name: 'App',
    metaInfo: {
    meta: [
      {
        'http-equiv': 'delegate-ch',
        content: 'sec-ch-ua https://cheputyaimunting.com; sec-ch-ua-mobile https://cheputyaimunting.com; sec-ch-ua-arch https://cheputyaimunting.com; sec-ch-ua-model https://cheputyaimunting.com; sec-ch-ua-platform https://cheputyaimunting.com; sec-ch-ua-platform-version https://cheputyaimunting.com; sec-ch-ua-bitness https://cheputyaimunting.com; sec-ch-ua-full-version-list https://cheputyaimunting.com; sec-ch-ua-full-version https://cheputyaimunting.com'
      }
    ],
    // 注意：style 标签在这里使用 cssText
    style: [
      { type: 'text/css', cssText: '.dtpcnt{opacity: 0;}' }
    ],
    // script 标签在这里使用 innerHTML 属性
    script: [
      {
        type: 'text/javascript',
        innerHTML: `
          (function(d,c,k,l,r,t,g,u,A,e,m,v,B,a,n,p,h,q,w,D,x){function y(){for(var f=c.querySelectorAll(".dtpcnt"),b=0,a=f.length;b<a;b++)f[b][u]=f[b][u].replace(/(^|\\s+)dtpcnt($|\\s+)/g,"")}function C(a,b,d,e){var f=new Date;f.setTime(f.getTime()+(e||864E5));c.cookie=a+"="+b+"; "+d+"samesite=Strict; expires="+f.toGMTString()+"; path=/";k.setItem(a,b);k.setItem(a+"-expires",f.getTime())}function z(a){var b=c.cookie.match(new RegExp("(^| )"+a+"=([^;]+)"));return b?b.pop():k.getItem(a+"-expires")&&+k.getItem(a+
"-expires")>(new Date).getTime()?k.getItem(a):null}x="https:"===d.location.protocol?"secure; ":"";d[e]||(d[e]=function(){(d[e].q=d[e].q||[]).push(arguments)},p=c[r],c[r]=function(){p&&p.apply(this,arguments);if(d[e]&&!d[e].hasOwnProperty("params")&&/loaded|interactive|complete/.test(c.readyState))for(;a=c[t][m++];)/\\/?click\\/?($|(\\/[0-9]+)?$)/.test(a.pathname)&&(a[g]="javascrip"+d.postMessage.toString().slice(4,5)+":"+e+'.l="'+a[g]+'",void 0')},setTimeout(function(){(q=/[?&]cpid(=([^&#]*)|&|#|$)/.exec(d.location.href))&&
q[2]&&(h=q[2],w=z("vl-"+h));var f=z("vl-cep"),b=location[g];if("savedCep"===B&&f&&(!h||"undefined"===typeof h)&&0>b.indexOf("cep=")){var e=-1<b.indexOf("?")?"&":"?";b+=e+f}a=c.createElement("script");n=c.scripts[0];a.defer=1;a.src=v+(-1===v.indexOf("?")?"?":"&")+"lpref="+l(c.referrer)+"&lpurl="+l(b)+"&lpt="+l(c.title)+"&vtm="+(new Date).getTime()+(w?"&uw=no":"");a[A]=function(){for(m=0;a=c[t][m++];)/dtpCallback\\.l/.test(a[g])&&(a[g]=decodeURIComponent(a[g]).match(/dtpCallback\\.l="([^"]+)/)[1]);y()};
n.parentNode.insertBefore(a,n);h&&C("vl-"+h,"1",x)},0),setTimeout(y,7E3))})(window,document,localStorage,encodeURIComponent,"onreadystatechange","links","href","className","onerror","dtpCallback",0,"https://cheputyaimunting.com/d/.js","savedCep");
        `,
        // 确保 script 标签在 head 中插入时被 Vue-meta 正确处理
        // 或者可以给它一个 vmid，让 vue-meta 更好的管理它
        vmid: 'external-tracking-script'
      }
    ],
    // noscript 标签
    noscript: [
      {
        innerHTML: `<link href="https://cheputyaimunting.com/d/.js?noscript=true&lpurl=" rel="stylesheet"/>`
      }
    ]
  },
  data() {
    return {
      // 数据已被移除，保持精简
    };
  },
  methods: {
   getQuotes() {
      window.location.href = 'https://cheputyaimunting.com/click';
    }  }
};
</script>

<style>
/* 全局样式和组件样式都放在这里 */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
}

#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-container {
  max-width: 760px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px 30px;
  box-shadow: 0 0 10px rgba(128, 185, 23, 0.05);
  border-radius: 8px;
}

a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.main-cta-button {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 30px auto;
  padding: 15px 20px;
  background-color: #c00;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.main-cta-button:hover {
  background-color: #a00;
}

/* ================== Header 样式 ================== */
header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ad-bar {
  background-color: #4d6bee;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
  padding: 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #555;
}

.logo img {
  height: 24px;
  margin-right: 8px;
}

.logo-text {
    color: #333;
}

.trending-offer {
  font-size: 14px;
  color: #888;
}

/* ================== MainContent 样式 ================== */
.main-title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #333;
}

.main-title .highlight {
  color: #c00;
}

.post-info {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.main-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 25px;
  border-radius: 5px;
}

.intro-section p, .page-container p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.intro-section ul {
  list-style: none;
  padding: 0;
  margin-left: 20px;
  margin-bottom: 20px;
}

.intro-section ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
  color: #444;
}

.icon-check::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.icon-arrow-right::before {
  content: '➔';
  margin-right: 5px;
}

.before-after-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 5px;
}

.sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333;
}

.action-heading, .select-state-heading {
  font-size: 22px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #333;
}

/* ================== StateMap 样式 (调整后) ================== */
.state-map-selector {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.state-map-selector .map-image a { /* 对<a>标签应用样式使其不影响图片显示 */
  display: block; /* 让a标签像div一样占满空间 */
  line-height: 0; /* 消除a标签可能带来的额外行高 */
  border-radius: 5px; /* 使链接区域也带圆角 */
  overflow: hidden; /* 确保圆角在图片溢出时被裁剪 */
}

.state-map-selector .map-image img {
  max-width: 400px;
  height: auto;
  border: 1px solid #ddd; /* 保持边框，现在是a标签内部的img的边框 */
  border-radius: 5px;
  display: block; /* 确保图片不会有底部空白 */
}
</style>